package club.pchome.service;

import club.pchome.dao.TWantbuyDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TWantBuyService extends BaseService{


    @Autowired
    private TWantbuyDao tWantbuyDao;

    /**
     * 获取求购总额
     * @return
     */
    public int getWantOrderCount(Integer type){

        return tWantbuyDao.getWantOrderCount(type);
    }

//    public int todayOrderCount(){
//        return tWantbuyDao.todayOrderCount();
//    }


}
